<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>司机工资</title>
    <style>
        tr{height:40px;}
    </style>
</head>
<body>
<table border="1" style="width:1200px;">
    <thead>
    <tr>
        <th width="50">#</th>
        <th>司机姓名</th>
        <th>联系电话</th>
        <th>基本工资</th>
        <th>里程系数(元/Km)</th>
        <th>总里程（Km）</th>
        <th>里程补贴（元）</th>
        <th>请假天数</th>
        <th>油量折抵(L)</th>
        <th>平均油价(元/L)</th>
        <th>折抵金额（元）</th>
    </tr>
    </thead>
    <tbody>
    {volist name="list" id="vo"}
    <tr>
        <td>{$vo.aid}</td>
        <td>{$vo.title}</td>
        <td>{$vo.dri_phone}</td>
        <td>{$vo.driver_wages}</td>
        <td>{$vo.km_subsidy}</td>
        <td>{$vo.sum_order_mileage}</td>
        <td>{$vo.sum_order_mileage*$vo.km_subsidy}</td>
        <td>{:count($vo['leave_arr'])}天</td>
        <td>{$vo.car_fue-$vo.sum_order_l}</td>
        <td>{$oil_money}</td>
        <td>{php} echo ($vo['car_fue']-$vo['sum_order_l'])*$oil_money {/php}</td>
    </tr>
    {/volist}
    </tbody>
</table>
</body>
</html>